/*
 * Copyright(C) 2010 Luvina Software Company
 *
 * UserGrp.java, Oct 29, 2010 ntmhuong
 */
package net.luvina.manageuser.hibernate;

// Generated 2010/02/22 21:04:41 by Hibernate Tools 3.2.5.Beta

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author Ngo Quang Tinh
 *
 */
public class UserGrp implements java.io.Serializable {

    private Integer                userGrpId;
    private String                 userGrpName;
    private Set<User>              users = new HashSet<User>(0);

    public UserGrp() {
    }

    public UserGrp(String userGrpName, Set<User> users) {
        this.userGrpName = userGrpName;
        this.users = users;
    }

    /**
     * @return the userGrpId
     */
    public Integer getUserGrpId() {
        return userGrpId;
    }

    /**
     * @param userGrpId the userGrpId to set
     */
    public void setUserGrpId(Integer userGrpId) {
        this.userGrpId = userGrpId;
    }

    /**
     * @return the userGrpName
     */
    public String getUserGrpName() {
        return userGrpName;
    }

    /**
     * @param userGrpName the userGrpName to set
     */
    public void setUserGrpName(String userGrpName) {
        this.userGrpName = userGrpName;
    }

    /**
     * @return the users
     */
    public Set<User> getUsers() {
        return users;
    }

    /**
     * @param users the users to set
     */
    public void setUsers(Set<User> users) {
        this.users = users;
    }


}
